package qt.domain;

import org.joda.time.DateTime;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by charmyyy on 2017/10/24.
 */
public class Sskzmdygx {
    private String stcd;
    private String tycd;
    private String obitcd;
    private String sscd;
    //首选码
    private String first_flag;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date frdt;
    private String nt;


    public Sskzmdygx() {
    }

    public Sskzmdygx(String stcd, String tycd, String obitcd, String sscd, String first_flag, Date frdt, String nt) {
        this.stcd = stcd;
        this.tycd = tycd;
        this.obitcd = obitcd;
        this.sscd = sscd;
        this.first_flag = first_flag;
        this.frdt = frdt;
        this.nt = nt;
    }

    public String getStcd() {
        return stcd;
    }

    public void setStcd(String stcd) {
        this.stcd = stcd;
    }

    public String getTycd() {
        return tycd;
    }

    public void setTycd(String tycd) {
        this.tycd = tycd;
    }

    public String getObitcd() {
        return obitcd;
    }

    public void setObitcd(String obitcd) {
        this.obitcd = obitcd;
    }

    public String getSscd() {
        return sscd;
    }

    public void setSscd(String sscd) {
        this.sscd = sscd;
    }

    public String getFirst_flag() { return first_flag;}

    public void setFirst_flag(String first_flag) { this.first_flag = first_flag;}

    public Date getFrdt() {
        return frdt;
    }

    public void setFrdt(Date frdt) {
        this.frdt = frdt;
    }

    public String getNt() {
        return nt;
    }

    public void setNt(String nt) {
        this.nt = nt;
    }

    @Override
    public String toString() {
        return "Sskzmdygx{" +
                "stcd='" + stcd + '\'' +
                ", tycd='" + tycd + '\'' +
                ", obitcd='" + obitcd + '\'' +
                ", sscd='" + sscd + '\'' +
                ", first_flag='" + first_flag + '\'' +
                ", frdt=" + frdt +
                ", nt='" + nt + '\'' +
                '}';
    }
}
